xen/arm64: Avoid sending SGI when kicking secondary cpus with spin_table
authorChen Baozi <baozich@gmail.com>
Tue, 7 Apr 2015 07:33:52 +0000 (15:33 +0800)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 8 May 2015 16:39:56 +0000 (17:39 +0100)
commita57b1fff48a8e7f3791156f9cfafc174b9f18e2b
treed460372eb6e1212a42eaed47f9f7ae0451d2127a
parent586623b733614d33b17a394817f5bb0cb6b263d9
xen/arm64: Avoid sending SGI when kicking secondary cpus with spin_table

On arm64, either firmware or xen's smp_up_cpu gate uses WFE on secondary
cpus to stand-by when booting. Thus, using SEV is enough for the boot
cpu to kick other secondaries. Further more, the current implementation
of cpu_up_send_sgi would pass a NULL cpumask pointer to send_SGI, which
then lead a data fault on GICv3 send_SGI implementation.

Signed-off-by: Chen Baozi <baozich@gmail.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/arm64/smpboot.c